<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../common/jspcommon.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的分享 - 果果街</title>
<meta name="keywords" content="果果,果果网,果果街,淘宝网导购,淘宝母婴,母婴用品,母婴产品,母婴网购,怀孕,孕期,婴幼儿,儿童,0-1岁,1-3岁,3-6岁,妈妈购物分享,逛淘宝,童装,童鞋,玩具,早教,启蒙,亲子,亲子装,纸尿裤,奶粉,母婴类美丽说,母婴类蘑菇街,母婴类爱乐活" />
<meta name="description" content="看看妈妈们为宝宝淘到的好东西，参加品牌母婴电商限时高额返利活动，推荐别人购买自己拿佣金，果果街是妈妈分享育儿消费经验，网购省钱的好地方。" />
<%@include file="../common/js.jsp"%>
<%@include file="../common/css.jsp"%>
<link type="text/css" rel="stylesheet" href="/css/v4/detail.css" />
<!--[if ie 6]><script type="text/javascript" src="/js/v4/iepng.js"></script><![endif]-->
<!--[if ie]><link type="text/css" rel="stylesheet" href="/css/v4/common/IE.css"><![endif]-->
</head>
<script type="text/javascript">
<!--
	$(function() {

		$("#pager").pager({
			pagenumber : "${pageModel.currentPage}",
			pagecount : "${pageModel.totalPage}",
			buttonClickCallback : function(page) {
				location.href = "/member/myshare.htm?page=" + page;
			}
		});
<%-- 图片加载完之后给div赋值样式 --%>
	$("div.h_items_box").masonry({
			itemSelector : '.h_item',
			columnWidth : 245,
			isAnimated : false
		});

	});
//-->
</script>
<%@include file="../common/header.jsp"%>
<%@include file="menu.jsp"%>
<div class="w100p pt20 pb35" id="member_content">
	<div class="w980 mg clearfix">
		<div class="home_items_box">
			<c:choose>
				<c:when test="${pageModel.totalRecord<=0 || empty pageModel}">
					<div class="home_items_box" style="min-height:450px;height:450px;">
						<div class="no_data_box">
							<%@include file="meInfo.jsp"%>
							<div class="h_show_tip">
								<p class="tip_1">
									你还没有分享过商品，<a href="javascript:;" class="def_btn_s12"
										onclick="sharelink()">马上分享</a>&nbsp;&nbsp;参与幸运排名活动<span>赢现金</span>
								</p>
							</div>
						</div>
					</div>
				</c:when>
				<c:when test="${pageModel.totalRecord>0 && pageModel.totalRecord<4 }">
				<div class="h_items_box">
					<c:forEach items="${pageModel.list }" var="doing" varStatus="v">
									<div class="h_item box_s1">
										<div class="shadow"></div>
										<div class="pro_box">
											<!-- <span class=" icon_bg recommend"></span> -->
											<c:if
												test="${doing.doingProductList[0].from=='淘宝' && (doing.doingProductList[0].maxPrice-doing.doingProductList[0].price)>=10 }">
												<span class=" icon_bg pro_lbl">降价${doing.doingProductList[0].maxPrice-doing.doingProductList[0].price
													}元</span>
											</c:if>
											<div class="love_comment_ope" style="display: none;"
												onmouseover="$(this).show()" onmouseout="$(this).hide()">
												<a href="javascript:void(0);"
													onclick="GUOGUO.loveDoing('${doing.identifier}')"
													class="icon_bg">收藏</a><a
													href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
													target="_blank" class="icon_bg comment">评论</a>
											</div>
											<a target="_blank"
												href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
												class="pic"><img
												src="${doing.doingProductList[0].imageServer }${doing.doingProductList[0].picThumb }_200xXXX.jpg"
												alt="${doing.doingProductList[0].name }"
												title="${doing.doingProductList[0].name }" width="200"
												height="${doing.doingProductList[0].height200xxx }"
												onmouseover="$(this).parent().prev('div').show()"
												onmouseout="$(this).parent().prev('div').hide()"
												class=" block" /> </a>
										</div>
										<div class="pro_t_p">
											<a class="title"> <c:if
													test="${doing.replaceContent==null }">${doing.doingProductList[0].showName }</c:if>
												<c:if test="${doing.replaceContent!=null }">${doing.showContent }</c:if>
											</a> <span class="price">￥${doing.doingProductList[0].price
												}</span>
										</div>
										<div class="l_c_nums">
											<c:if test="${doing.doingProductList[0].commission>0 }">
												<a
													href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
													target="_blank" class="fanli"><img
													src="../../images/v4/other/icon_8.png" class=" block" /> </a>
											</c:if>
												<span>
												<b class="red_heart"></b>
												<a class="collection_nums" href="javascript:void(0);" onclick="GUOGUO.loveDoing('${doing.identifier}')">收藏</a><c:if test="${doing.loveAmount>0 }">
														<i>${doing.loveAmount }</i>
													</c:if>
												</span>
										</div>
										<!-- <div class="other_func">
                            <a href="#" class="icon_bg tryout">免费试用</a>
                        </div> -->
										<div class="comment_box">
											<ul>
												<li
													<c:if test="${fn:length(doing.commentList)>0 }">class="line"</c:if>>
													<div class="lay_lr_box">
														<a href="/member/tashare.htm?ta=${doing.member}" target="_blank" class="l_box"><img
															src="${doing.memberObj.imageServer }${doing.memberObj.avatar }"
															width="32" height="32" class=" block" /> </a>
														<div class="r_box">
															<a href="/member/tashare.htm?ta=${doing.member}" target="_blank" class="name">${doing.memberObj.nickname }</a><i
																class="who_share">分享</i>
															<p class="share_time">${doing.doingCreated }</p>
														</div>
													</div>
												</li>
												<c:forEach items="${doing.commentList }" var="c"
													varStatus="v">
													<li class="line">
														<div class="lay_lr_box">
															<a href="/member/tashare.htm?ta=${c.member}" target="_blank" class="l_box"><img
																src="${c.memberImageServer }${c.memberAvatar }"
																width="32" height="32" class=" block" /> </a>
															<div class="r_box">
																<a class="name">${c.nickname }</a> <span
																	class="info clr9">${c.content }</span>
															</div>
														</div>
													</li>
												</c:forEach>
												<c:if test="${fn:length(doing.commentList)>0 }">
													<li class="last"><a
														href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
														target="_blank">查看全部<i>${doing.commentCount }</i>条评论...</a>
													</li>
												</c:if>
											</ul>
										</div>
									</div>
								
						</c:forEach>
						<c:if test="${pageModel.totalRecord < 3 }">
							<c:forEach begin="0" end="${2-pageModel.totalRecord }">
								<div style="width:228px; height:10px; opacity:0;filter:alpha(opacity=0);" class="h_item"></div>
							</c:forEach>
						</c:if>
					<%@include file="meInfo2.jsp"%>
					</div>
				</c:when>
				<c:otherwise>
					<div class="h_items_box">
							<c:forEach items="${pageModel.list }" var="doing" varStatus="v">
								<c:if test="${v.index==3 }">
									<%@include file="meInfo.jsp"%>
								</c:if>
								<div class="h_item box_s1">
									<div class="shadow"></div>
									<div class="pro_box">
										<!-- <span class=" icon_bg recommend"></span> -->
										<c:if
											test="${doing.doingProductList[0].from=='淘宝' && (doing.doingProductList[0].maxPrice-doing.doingProductList[0].price)>=10 }">
											<span class=" icon_bg pro_lbl">降价${doing.doingProductList[0].maxPrice-doing.doingProductList[0].price
												}元</span>
										</c:if>
										<div class="love_comment_ope" style="display: none;"
											onmouseover="$(this).show()" onmouseout="$(this).hide()">
											<a href="javascript:void(0);"
												onclick="GUOGUO.loveDoing('${doing.identifier}')"
												class="icon_bg">收藏</a><a
												href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
												target="_blank" class="icon_bg comment">评论</a>
										</div>
										<a target="_blank"
											href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
											class="pic"><img
											src="${doing.doingProductList[0].imageServer }${doing.doingProductList[0].picThumb }_200xXXX.jpg"
											alt="${doing.doingProductList[0].name }"
											title="${doing.doingProductList[0].name }" width="200"
											height="${doing.doingProductList[0].height200xxx }"
											onmouseover="$(this).parent().prev('div').show()"
											onmouseout="$(this).parent().prev('div').hide()"
											class=" block" /> </a>
									</div>
									<div class="pro_t_p">
										<a class="title"> <c:if
												test="${doing.replaceContent==null }">${doing.doingProductList[0].showName }</c:if>
											<c:if test="${doing.replaceContent!=null }">${doing.showContent }</c:if>
										</a> <span class="price">￥${doing.doingProductList[0].price
											}</span>
									</div>
									<div class="l_c_nums">
										<c:if test="${doing.doingProductList[0].commission>0 }">
											<a
												href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
												target="_blank" class="fanli"><img
												src="../../images/v4/other/icon_8.png" class=" block" /> </a>
										</c:if>
										<span> 
												<b class="red_heart"></b>
											<a class="collection_nums" href="javascript:void(0);" onclick="GUOGUO.loveDoing('${doing.identifier}')">收藏</a><c:if test="${doing.loveAmount>0 }">
												<i>${doing.loveAmount }</i>
											</c:if> </span>
									</div>
									<!-- <div class="other_func">
                            <a href="#" class="icon_bg tryout">免费试用</a>
                        </div> -->
									<div class="comment_box">
										<ul>
											<li
												<c:if test="${fn:length(doing.commentList)>0 }">class="line"</c:if>>
												<div class="lay_lr_box">
													<a href="/member/tashare.htm?ta=${doing.member}" target="_blank" class="l_box"><img
														src="${doing.memberObj.imageServer }${doing.memberObj.avatar }"
														width="32" height="32" class=" block" /> </a>
													<div class="r_box">
														<a href="/member/tashare.htm?ta=${doing.member}" target="_blank" class="name">${doing.memberObj.nickname }</a><i
															class="who_share">分享</i>
														<p class="share_time">${doing.doingCreated }</p>
													</div>
												</div></li>
											<c:forEach items="${doing.commentList }" var="c"
												varStatus="v">
												<li class="line">
													<div class="lay_lr_box">
														<a href="/member/tashare.htm?ta=${c.member}" target="_blank" class="l_box"><img
															src="${c.memberImageServer }${c.memberAvatar }"
															width="32" height="32" class=" block" /> </a>
														<div class="r_box">
															<a class="name">${c.nickname }</a> <span
																class="info clr9">${c.content }</span>
														</div>
													</div></li>
											</c:forEach>
											<c:if test="${fn:length(doing.commentList)>0 }">
												<li class="last"><a
													href="/shop/go.htm?pid=${doing.doingProductList[0].identifier }"
													target="_blank">查看全部<i>${doing.commentCount }</i>条评论...</a>
												</li>
											</c:if>
										</ul>
									</div>
								</div>
							</c:forEach>
						</div>
					<div class="fanye mt50" id="pager"></div>
				</c:otherwise>
			</c:choose>
		</div>
	</div>
</div>
<%@include file="../common/footer.jsp"%>
</body>
</html>